
<%@ page import="com.plan.Employee" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'employee.label', default: 'Employee')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-employee" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-employee" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list employee">
			
				<g:if test="${employeeInstance?.userName}">
				<li class="fieldcontain">
					<span id="userName-label" class="property-label"><g:message code="employee.userName.label" default="User Name" /></span>
					
						<span class="property-value" aria-labelledby="userName-label"><g:fieldValue bean="${employeeInstance}" field="userName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="employee.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${employeeInstance}" field="name"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.depart}">
				<li class="fieldcontain">
					<span id="depart-label" class="property-label"><g:message code="employee.depart.label" default="Depart" /></span>
					
						<span class="property-value" aria-labelledby="depart-label"><g:fieldValue bean="${employeeInstance}" field="depart"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.duty}">
				<li class="fieldcontain">
					<span id="duty-label" class="property-label"><g:message code="employee.duty.label" default="Duty" /></span>
					
						<span class="property-value" aria-labelledby="duty-label"><g:fieldValue bean="${employeeInstance}" field="duty"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.subject}">
				<li class="fieldcontain">
					<span id="subject-label" class="property-label"><g:message code="employee.subject.label" default="Subject" /></span>
					
						<span class="property-value" aria-labelledby="subject-label"><g:fieldValue bean="${employeeInstance}" field="subject"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.teams}">
				<li class="fieldcontain">
					<span id="teams-label" class="property-label"><g:message code="employee.teams.label" default="Teams" /></span>
					
						<span class="property-value" aria-labelledby="teams-label"><g:fieldValue bean="${employeeInstance}" field="teams"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.workStatus}">
				<li class="fieldcontain">
					<span id="workStatus-label" class="property-label"><g:message code="employee.workStatus.label" default="Work Status" /></span>
					
						<span class="property-value" aria-labelledby="workStatus-label"><g:fieldValue bean="${employeeInstance}" field="workStatus"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.workContent}">
				<li class="fieldcontain">
					<span id="workContent-label" class="property-label"><g:message code="employee.workContent.label" default="Work Content" /></span>
					
						<span class="property-value" aria-labelledby="workContent-label"><g:fieldValue bean="${employeeInstance}" field="workContent"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.picPath}">
				<li class="fieldcontain">
					<span id="picPath-label" class="property-label"><g:message code="employee.picPath.label" default="Pic Path" /></span>
					
						<span class="property-value" aria-labelledby="picPath-label"><g:fieldValue bean="${employeeInstance}" field="picPath"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="employee.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${employeeInstance?.dateCreated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="employee.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${employeeInstance?.lastUpdated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.remark}">
				<li class="fieldcontain">
					<span id="remark-label" class="property-label"><g:message code="employee.remark.label" default="Remark" /></span>
					
						<span class="property-value" aria-labelledby="remark-label"><g:fieldValue bean="${employeeInstance}" field="remark"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.str1}">
				<li class="fieldcontain">
					<span id="str1-label" class="property-label"><g:message code="employee.str1.label" default="Str1" /></span>
					
						<span class="property-value" aria-labelledby="str1-label"><g:fieldValue bean="${employeeInstance}" field="str1"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${employeeInstance?.str2}">
				<li class="fieldcontain">
					<span id="str2-label" class="property-label"><g:message code="employee.str2.label" default="Str2" /></span>
					
						<span class="property-value" aria-labelledby="str2-label"><g:fieldValue bean="${employeeInstance}" field="str2"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${employeeInstance?.id}" />
					<g:link class="edit" action="edit" id="${employeeInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
